package com.mg.admin.dao.admin;

import com.mg.admin.annotation.MyBatis;
import com.mg.admin.bean.admin.WxFansVO;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

@MyBatis
public interface WxFansMapper {

    List<WxFansVO> queryForPage(WxFansVO wxFansVO, RowBounds rb);

    int queryCountForPage(WxFansVO wxFansVO);

    void insertSubscribeUser(WxFansVO wxFansVO);

    List<WxFansVO> findFansByOpenId(WxFansVO wxFansVO);

    void updateSubscribeUser(WxFansVO wxFansVO);

    List<WxFansVO> distPageList(WxFansVO wxFansVO, RowBounds rb);

    int distPageCount(WxFansVO wxFansVO);
}